using System;

namespace Gadgeteer.Interfaces.Led
{
    /// <summary>
    /// Simple led that has only 2 states: On or Off
    /// </summary>
    public interface IToggleLed : ILed
    {
        /// <summary>
        /// Turns the LED on.
        /// </summary>
        void TurnOn();

        /// <summary>
        /// Indicates wether the led is on.
        /// </summary>
        bool IsTurnedOn { get; }
    }
}
